package com.hc.wdj.auth.server.data.model.request;

import java.io.Serializable;

/**
 * Client的id和model
 * @author ryanwdj
 * @since 2024/11/19
 */
public class ClientIdAndSecretModel implements Serializable {

    private static final long serialVersionUID = -3322153286470127205L;

    /**
     * 应用ID
     */
    public String clientId;

    /**
     * 应用密钥
     */
    public String clientSecret;

    public ClientIdAndSecretModel(){}

    public ClientIdAndSecretModel(String clientId, String clientSecret){
        this.clientId = clientId;
        this.clientSecret = clientSecret;
    }

    public String getClientId(){
        return clientId;
    }

    public String getClientSecret(){
        return clientSecret;
    }

    public ClientIdAndSecretModel setClientId(String clientId){
        this.clientId = clientId;
        return this;
    }

    public ClientIdAndSecretModel setClientSecret(String clientSecret){
        this.clientSecret = clientSecret;
        return this;
    }

    @Override
    public String toString() {
        return "ClientIdAndSecretModel{" +
                "clientId='" + clientId + '\'' +
                ", clientSecret='" + clientSecret + '\'' +
                '}';
    }
}
